package main

// Crawler crawl web
type Crawler struct {
	url       string
	transport chan Transport
	exit      chan struct{}
}

func NewCrawler(url string, transport chan Transport, exit chan struct{}) *Crawler {
	return &Crawler{
		url:       url,
		transport: transport,
		exit:      exit,
	}
}
